<?php

namespace App\Http\Requests\Common;

use App\Http\Requests\ApiRequest;
use App\Models\Customers\Customer;

/**
 * @property string message - json
 * @property string to
 * @property string sign
 */
class SmsProxyRequest extends ApiRequest
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        $rules = [
            'to'      => ['required', 'string',],
            'message' => ['required', 'string',],
            'sign'    => ['required', 'string',],
        ];

        return $rules;
    }
}
